package com.neo.push.core;

import java.io.UnsupportedEncodingException;

/**
 * Created by lock on 17-7-13.
 *
 * 安装推送消息的回执
 *
 */
public class Receipt extends TextMessage {

    private final String messageId;

    public Receipt(String messageId) throws UnsupportedEncodingException {
        super(MessageType.RECEIPT,messageId.getBytes("UTF-8"));
        this.messageId = messageId;
    }

    public String getMessageId() {
        return messageId;
    }
}
